package com.hzit.sb2.bean;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * student
 * @author 
 */
@Data
@Accessors(chain = true)
public class Student implements Serializable {
    private Integer id;

    private String name;

    private String gender;

    private Integer age;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthday;

    private String phone;

    private String addr;

    private static final long serialVersionUID = 1L;
}